home *** CD-ROM | disk | FTP | other *** search
/ Group 42-Sells Out! - The Information Archive / Group 42 Sells Out (Group 42) (1996).iso / faqs / firewall.txt < prev    next >
Text File  |  1995-11-30  |  31KB  |  735 lines

  1. Archive-name: firewalls-faq
  2. Posting-Frequency: whenever updated
  3. Last-modified: Sat Dec  3 22:33:57 1994
  4. Version: 3
  5.  
  6. Internet Firewalls Frequently Asked Questions
  7. =============================================
  8.  
  9. About the FAQ
  10. =============
  11. This FAQ is not an advertisement or endorsement for any
  12. product, company, or consultant. The maintainer welcomes input
  13. and comments on the contents of this FAQ. Comments related
  14. to the FAQ should be addressed to Fwalls-FAQ@tis.com. The
  15. FAQ is also available via WWW from http://www.tis.com
  16.  
  17.  
  18. Contents:
  19. =========
  20. 1: What is a network firewall?
  21. 2: Why would I want a firewall?
  22. 3: What can a firewall protect against?
  23. 4: What can't a firewall protect against?
  24. 5: What are good sources of print information on firewalls?
  25. 6: Where can I get more information on firewalls on the  network?
  26. 7: What are some commercial products or consultants who sell/service firewalls?
  27. 8: What are some of the basic design decisions in a firewall?
  28. 9: What are proxy servers and how do they work?
  29. 10: What are some cheap packet screening tools?
  30. 11: What are some reasonable filtering rules for my Cisco?
  31. 12: How do I make DNS work with a firewall?
  32. 13: How do I make FTP work through my firewall?
  33. 14: How do I make Telnet work through my firewall?
  34. 15: How do I make Finger and whois work through my firewall?
  35. 16: How do I make gopher, archie, and other services work through my firewall?
  36. 17: What are the issues about X-Window through a firewall?
  37. 18: What is source routed traffic and why is it a threat?
  38. 19: What are ICMP redirects and redirect bombs?
  39. 20: Glossary of firewall related terms
  40.  
  41. ------------------------------
  42.  
  43. Date: Mon Jun 27 15:50:11 1994
  44. From: Fwalls-FAQ@tis.com
  45. Subject: 1: What is a network firewall?
  46.  
  47. A firewall is any one of several ways of protecting one
  48. network from another untrusted network. The actual mechanism
  49. whereby this is accomplished varies widely, but in
  50. principle, the firewall can be thought of as a pair of
  51. mechanisms: one which exists to block traffic, and the other
  52. which exists to permit traffic. Some firewalls place a
  53. greater emphasis on blocking traffic, while others emphasize
  54. permitting traffic.
  55.  
  56. ------------------------------
  57.  
  58. Date: Mon Jun 27 15:50:28 1994
  59. From: Fwalls-FAQ@tis.com
  60. Subject: 2: Why would I want a firewall?
  61.  
  62. The Internet, like any other society, is plagued with the
  63. kind of jerks who enjoy the electronic equivalent of writing
  64. on other people's walls with spraypaint, tearing their
  65. mailboxes off, or just sitting in the street blowing their
  66. car horns. Some people try to get real work done over the
  67. Internet, and others have sensitive or proprietary data they
  68. must protect. A firewall's purpose is to keep the jerks out
  69. of your network while still letting you get your job done.
  70.  
  71. Many traditional-style corporations and data centers have
  72. computing security policies and practices that must be
  73. adhered to. In a case where a company's policies dictate how
  74. data must be protected, a firewall is very important, since
  75. it is the embodiment of the corporate policy. Frequently,
  76. the hardest part of hooking to the Internet, if you're a
  77. large company, is not justifying the expense or effort, but
  78. convincing management that it's safe to do so. A firewall
  79. provides not only real security - it often plays an
  80. important role as a security blanket for management.
  81.  
  82. Lastly, a firewall can act as your corporate "ambassador" to
  83. the Internet. Many corporations use their firewall systems
  84. as a place to store public information about corporate
  85. products and services, files to download, bug-fixes, and so
  86. forth. Several of these systems have become important parts
  87. of the Internet service structure (e.g.: UUnet.uu.net,
  88. gatekeeper.dec.com) and have reflected well on their
  89. corporate sponsors.
  90.  
  91. ------------------------------
  92.  
  93. Date: Mon Jun 27 15:50:35 1994
  94. From: Fwalls-FAQ@tis.com
  95. Subject: 3: What can a firewall protect against?
  96.  
  97. Some firewalls permit only Email traffic through them,
  98. thereby protecting the network against any attacks other
  99. than attacks against the Email service. Other firewalls
  100. provide less strict protections, and block services that are
  101. known to be problems.
  102.  
  103. Generally, firewalls are configured to protect against
  104. unauthenticated interactive logins from the "outside" world.
  105. This, more than anything, helps prevent vandals from logging
  106. into machines on your network. More elaborate firewalls
  107. block traffic from the outside to the inside, but permit
  108. users on the inside to communicate freely with the outside.
  109. The firewall can protect you against any type of network
  110. borne attack if you unplug it.
  111.  
  112. Firewalls are also important since they can provide a single
  113. "choke point" where security and audit can be imposed.
  114. Unlike in a situation where a computer system is being attacked
  115. by someone dialing in with a modem, the firewall can act as
  116. an effective "phone tap" and tracing tool.
  117.  
  118. ------------------------------
  119.  
  120. Date: Mon Jun 27 15:50:48 1994
  121. From: Fwalls-FAQ@tis.com
  122. Subject: 4: What can't a firewall protect against?
  123.  
  124. Firewalls can't protect against attacks that don't
  125. go through the firewall. Many corporations that connect to
  126. the Internet are very concerned about proprietary data
  127. leaking out of the company through that route. Unfortunately
  128. for those concerned, a magnetic tape can just as effectively
  129. be used to export data. Firewall policies must be realistic,
  130. and reflect the level of security in the entire network. For
  131. example, a site with top secret or classified data doesn't
  132. need a firewall at all: they shouldn't be hooking up to the
  133. internet in the first place, or the systems with the really
  134. secret data should be isolated from the rest of the
  135. corporate network.
  136.  
  137. Firewalls can't protect very well against things
  138. like viruses. There are too many ways of encoding binary
  139. files for transfer over networks, and too many different
  140. architectures and viruses to try to search for them all.
  141. In other words, a firewall cannot replace security-
  142. consciousness on the part of your users. In general, a firewall
  143. cannot protect against a data-driven attack -- attacks in which
  144. something is mailed or copied to an internal host where it is
  145. then executed. This form of attack has occurred in the past
  146. against various versions of Sendmail.
  147.  
  148. ------------------------------
  149.  
  150. Date: Wed Jul 6 14:45:13 1994
  151. From: Fwalls-FAQ@tis.com
  152. Subject: 5: What are good sources of print information on firewalls?
  153.  
  154. There are several books that touch on firewalls. The best
  155. known are:
  156.  
  157. Title: Firewalls and Internet Security: Repelling the Wily Hacker
  158. Authors: Bill Cheswick and Steve Bellovin
  159. Publisher: Addison Wesley
  160. Edition: 1994
  161. ISBN: 0-201-63357-4
  162.  
  163. Title: Practical Unix Security
  164. Authors: Simson Garfinkel and Gene Spafford
  165. Publisher: O'Reilly
  166. Edition: 1991
  167. ISBN: 0-937175-72-2
  168. (discusses primarily host security)
  169.  
  170. Related references are:
  171.  
  172. Titles: Internetworking with TCP/IP  Vols I, II and III
  173. Authors: Douglas Comer and David Stevens
  174. Publisher: Prentice-Hall
  175. Edition: 1991
  176. ISBN: 0-13-468505-9 (I), 0-13-472242-6 (II), 0-13-474222-2 (III)
  177. Comment: A detailed discussion on the architecture and implementation of
  178. the Internet and its protocols.
  179. Vol I (on principles, protocols and architecture) is readable by
  180. everyone, Vol 2 (on design, implementation and internals) is
  181. more technical, and Vol 3 (on client-server computing) is
  182. recently out.
  183.  
  184. Title: Unix System Security - A Guide for Users and System Administrators
  185. Author: David Curry
  186. Publisher: Addision Wesley
  187. Edition: 1992
  188. ISBN: 0-201-56327-4
  189.  
  190. ------------------------------
  191.  
  192. Date: Mon Jun 27 15:54:03 1994
  193. From: Fwalls-FAQ@tis.com
  194. Subject: 6: Where can I get more information on firewalls on the network?
  195.  
  196. Ftp.greatcircle.com - Firewalls mailing list archives.
  197.                 Directory: pub/firewalls
  198.  
  199. Ftp.tis.com - Internet firewall toolkit and papers.
  200.                 Directory: pub/firewalls
  201.  
  202. Research.att.com - Papers on firewalls and breakins.
  203.                 Directory: dist/internet_security
  204.  
  205. Net.Tamu.edu - Texas AMU security tools.
  206.                 Directory: pub/security/TAMU
  207.  
  208. The internet firewalls mailing list is a forum for firewall
  209. administrators and implementors. To subscribe to Firewalls, send
  210. "subscribe firewalls"
  211. in the body of a message (not on the "Subject:" line) to
  212. "Majordomo@GreatCircle.COM". Archives of past Firewalls postings are
  213. available for anonymous FTP from ftp.greatcircle.com in pub/firewalls/archive
  214.  
  215. ------------------------------
  216.  
  217. Date: Mon Jun 27 15:54:06 1994
  218. From: Fwalls-FAQ@tis.com
  219. Subject: 7: What are some commercial products or consultants who sell/service firewalls?
  220.  
  221. We feel this topic is too sensitive to address in a FAQ, as
  222. well as being difficult to maintain an up-to-date list.
  223.  
  224. ------------------------------
  225.  
  226. Date: Mon Jun 27 15:54:23 1994
  227. From: Fwalls-FAQ@tis.com
  228. Subject: 8: What are some of the basic design decisions in a firewall?
  229.  
  230. There are a number of basic design issues that should be
  231. addressed by the lucky person who has been tasked with the
  232. responsibility of designing, specifying, and implementing or
  233. overseeing the installation of a firewall.
  234.  
  235. The first and most important is reflects the policy of how
  236. your company or organization wants to operate the system: is
  237. the firewall in place to explicitly deny all services except
  238. those critical to the mission of connecting to the net, or
  239. is the firewall in place to provide a metered and audited
  240. method of "queuing" access in a non-threatening manner.
  241. There are degrees of paranoia between these positions; the
  242. final stance of your firewall may be more the result of a
  243. political than an engineering decision.
  244.  
  245. The second is: what level of monitoring, redundancy, and
  246. control do you want? Having established the acceptable risk
  247. level (e.g.: how paranoid you are) by resolving the first
  248. issue, you can form a checklist of what should be monitored,
  249. permitted, and denied. In other words, you start by figuring
  250. out your overall objectives, and then combine a needs
  251. analysis with a risk assessment, and sort the almost always
  252. conflicting requirements out into a laundry list that
  253. specifies what you plan to implement.
  254.  
  255. The third issue is financial. We can't address this one here
  256. in anything but vague terms, but it's important to try to
  257. quantify any proposed solutions in terms of how much it will
  258. cost either to buy or to implement. For example, a complete
  259. firewall product may cost between $100,000 at the high end,
  260. and free at the low end. The free option, of doing some
  261. fancy configuring on a Cisco or similar router will cost
  262. nothing but staff time and cups of coffee. Implementing a
  263. high end firewall from scratch might cost several man-
  264. months, which may equate to $30,000 worth of staff salary
  265. and benefits. The systems management overhead is also a
  266. consideration. Building a home-brew is fine, but it's
  267. important to build it so that it doesn't require constant
  268. and expensive fiddling-with. It's important, in other words,
  269. to evaluate firewalls not only in terms of what they cost
  270. now, but continuing costs such as support.
  271.  
  272. On the technical side, there are a couple of decisions to
  273. make, based on the fact that for all practical purposes what
  274. we are talking about is a static traffic routing service
  275. placed between the network service provider's router and
  276. your internal network. The traffic routing service may be
  277. implemented at an IP level via something like screening
  278. rules in a router, or at an application level via proxy
  279. gateways and services.
  280.  
  281. The decision to make here is whether to place an exposed
  282. stripped-down machine on the outside network to run proxy
  283. services for telnet, ftp, news, etc., or whether to set up a
  284. screening router as a filter, permitting communication with
  285. one or more internal machines. There are plusses and minuses
  286. to both approaches, with the proxy machine providing a
  287. greater level of audit and potentially security in return
  288. for increased cost in configuration and a decrease in the
  289. level of service that may be provided (since a proxy needs
  290. to be developed for each desired service). The old trade-off
  291. between ease-of-use and security comes back to haunt us with
  292. a vengeance.
  293.  
  294. ------------------------------
  295.  
  296. Date: Mon Jun 27 15:54:30 1994
  297. From: Fwalls-FAQ@tis.com
  298. Subject: 9: What are proxy servers and how do they work?
  299.  
  300. A proxy server (sometimes referred to as an application
  301. gateway or forwarder) is an application that mediates
  302. traffic between a protected network and the Internet.
  303. Proxies are often used instead of router-based traffic
  304. controls, to prevent traffic from passing directly between
  305. networks. Many proxies contain extra logging or support for
  306. user authentication. Since proxies must "understand" the
  307. application protocol being used, they can also implement
  308. protocol specific security (e.g., an FTP proxy might be
  309. configurable to permit incoming FTP and block outgoing
  310. FTP).
  311.  
  312. Proxy servers are application specific. In order to support
  313. a new protocol via a proxy, a proxy must be developed for
  314. it. SOCKS is a generic proxy system that can be compiled
  315. into a client-side application to make it work through a
  316. firewall. Its advantage is that it's easy to use, but it
  317. doesn't support the addition of authentication hooks or
  318. protocol specific logging. For more information on SOCKS,
  319. see ftp.nec.com: /pub/security/socks.cstc   Users are
  320. encouraged to check the file "FILES" for a description
  321. of the directory's contents.
  322.  
  323. ------------------------------
  324.  
  325. Date: Mon Jun 27 15:54:33 1994
  326. From: Fwalls-FAQ@tis.com
  327. Subject: 10: What are some cheap packet screening tools?
  328.  
  329. The Texas AMU security tools include software for
  330. implementing screening routers (FTP net.tamu.edu,
  331. pub/security/TAMU).  Karlbridge is a PC-based screening
  332. router kit (FTP nisca.acs.ohio-state.edu, pub/kbridge). A
  333. version of the Digital Equipment Corporation "screend"
  334. kernel screening software is available for BSD/386,
  335. NetBSD, and BSDI. Many commercial routers support screening
  336. of various forms.
  337.  
  338. ------------------------------
  339.  
  340. Date: Thu Jul 7 13:39:33 1994
  341. From: Fwalls-FAQ@tis.com
  342. Subject: 11: What are some reasonable filtering rules for my Cisco?
  343.  
  344. The following example shows one possible configuration for
  345. using the Cisco as a filtering router.  It is a sample that
  346. shows the implementation of a specific policy. Your policy
  347. will undoubtedly vary.
  348.  
  349. In this example, a company has Class B network address of 128.88.0.0
  350. and is using 8 bits for subnets.   The Internet connection is on the
  351. "red" subnet 128.88.254.0.  All other subnets are considered trusted
  352. or "blue" subnets.
  353.  
  354.      +---------------+ +---------------+    
  355.      | IP provider   | |   Gateway     |
  356.      | 128.88.254.1  | | 128.88.254.2  |  
  357.      +------+--------+ +------+--------+ 
  358.             |                            "Red" net
  359.   ----------+-----------------+----------------------------------
  360.                               |
  361.                        +------+--------+    
  362.                        |   Cisco       | 
  363.                        | 128.88.254.3  |
  364.                        |...............|
  365.                        | 128.88.1.1    |  
  366.                        +---------------+    
  367.                               |   
  368.   ----------------------------+----------------------------------
  369.             |                            "Blue" net
  370.      +------+--------+    
  371.      | mail router   |
  372.      | 128.88.1.2    |
  373.      +---------------+    
  374.  
  375. Keeping the following points in mind will help in understanding the
  376. configuration fragments:
  377.  
  378.  1. Ciscos applying filtering to output packets only.
  379.  2. Rules are tested in order and stop when the first match is found.
  380.  3. There is an implicit deny rule at the end of an access list that
  381.      denies everything.
  382.  
  383. The example below concentrates on the filtering parts of a configuration.
  384. Line numbers and formatting have been added for readability.
  385.  
  386. The policy to be implemented is:
  387.      Anything not explicitly allowed is denied
  388.      Traffic between the external gateway machine and
  389.        blue net hosts is allowed.  
  390.      Permit services orginating from the blue net
  391.      Allow a range of ports for FTP data connections back to the
  392.        blue net.  
  393.  
  394.      1  no ip source-route
  395.      2  !
  396.      3  interface Ethernet 0
  397.      4  ip address 128.88.1.1 255.255.255.0
  398.      5  ip access-group 10
  399.      6  !
  400.      7  interface Ethernet 1
  401.      8  ip address 128.88.254.3 255.255.255.0
  402.      9  ip access-group 11
  403.     10  !
  404.     11  access-list 10 permit ip 128.88.254.2 0.0.0.0
  405.          128.88.0.0 0.0.255.255
  406.     12  access-list 10 deny   tcp 0.0.0.0 255.255.255.255
  407.          128.88.0.0 0.0.255.255 lt 1025
  408.     13  access-list 10 deny   tcp 0.0.0.0 255.255.255.255
  409.          128.88.0.0 0.0.255.255 gt 4999
  410.     14  access-list 10 permit tcp 0.0.0.0 255.255.255.255
  411.          128.88.0.0 0.0.255.255
  412.     15  !
  413.     16  access-list 11 permit ip 128.88.0.0 0.0.255.255
  414.          128.88.254.2 0.0.0.0
  415.     17  access-list 11 deny   tcp 128.88.0.0 0.0.255.255
  416.          0.0.0.0 255.255.255.255 eq 25
  417.     18  access-list 11 permit tcp 128.88.0.0 0.0.255.255
  418.          0.0.0.0 255.255.255.255
  419.  
  420.  
  421. Lines   Explanation
  422.     1   Although this is not a filtering rule, it is good to include here.
  423.  
  424.     5   Ethernet 0 is on the red net.  Extended access list 10 will
  425.         be applied to output on this interface.  You can also
  426.         think of output from the red net as input on the blue net.
  427.  
  428.     9   Ethernet 1 is on the blue net.  Extended access list 11 will
  429.         be applied to output on this interface.
  430.  
  431.    11   Allow all traffic from the gateway machine to the blue net.
  432.  
  433. 12-14   Allow connections originating from the red net that come in
  434.         between ports 1024 and 5000.  This is to allow ftp data
  435.         connections back into the blue net.  5000 was chosen as the
  436.         upper limit as it is where OpenView starts.
  437.  
  438.         Note: again, we are assuming this is acceptable for the given policy.
  439.               There is no way to tell a Cisco to filter on source port.
  440.               Newer versions of the Cisco firmware will apparently support
  441.               source port filtering.
  442.  
  443.         Since the rules are tested until the first match we must use this
  444.         rather obtuse syntax.
  445.  
  446.    16   Allow all blue net packets to the gateway machine.
  447.  
  448.    17   Deny SMTP (tcp port 25) mail to the red net.
  449.  
  450.    18   Allow all other TCP traffic to the red net.
  451.  
  452. Cisco.Com has an archive of examples for building firewalls
  453. using Cisco routers, available for FTP from: ftp.cisco.com
  454. in  /pub/acl-examples.tar.Z
  455.  
  456. ------------------------------
  457.  
  458. Date: Mon Jun 27 16:00:08 1994
  459. From: Fwalls-FAQ@tis.com
  460. Subject: 12: How do I make DNS work with a firewall?
  461.  
  462. Some organizations want to hide DNS names from the outside.
  463. Many experts disagree as to whether or not hiding DNS names
  464. is worthwhile, but if site/corporate policy mandates hiding
  465. domain names, this is one approach that is known to work.
  466.  
  467. This approach is one of many, and is useful for
  468. organizations that wish to hide their host names from the
  469. Internet. The success of this approach lies on the fact that
  470. DNS clients on a machine don't have to talk to a DNS server
  471. on that same machine.  In other words, just because there's
  472. a DNS server on a machine, there's nothing wrong with (and
  473. there are often advantages to) redirecting that machine's
  474. DNS client activity to a DNS server on another machine.
  475.  
  476. First, you set up a DNS server on the bastion host that the
  477. outside world can talk to. You set this server up so that it
  478. claims to be authoritative for your domains.  In fact, all
  479. this server knows is what you want the outside world to
  480. know; the names and addresses of your gateways, your
  481. wildcard MX records, and so forth.  This is the "public"
  482. server.
  483.  
  484. Then, you set up a DNS server on an internal machine.  This
  485. server also claims to be authoritiative for your domains;
  486. unlike the public server, this one is telling the truth.
  487. This is your "normal" nameserver, into which you put all
  488. your "normal" DNS stuff.  You also set this server up to
  489. forward queries that it can't resolve to the public server
  490. (using a "forwarders" line in /etc/named.boot on a UNIX
  491. machine, for example).
  492.  
  493. Finally, you set up all your DNS clients (the
  494. /etc/resolv.conf file on a UNIX box, for instance),
  495. including the ones on the machine with the public server, to
  496. use the internal server.  This is the key.
  497.  
  498. An internal client asking about an internal host asks the
  499. internal server, and gets an answer; an internal client
  500. asking about an external host asks the internal server,
  501. which asks the public server, which asks the Internet, and
  502. the answer is relayed back.  A client on the public server
  503. works just the same way.  An external client, however,
  504. asking about an internal host gets back the "restricted"
  505. answer from the public server.
  506.  
  507. This approach assumes that there's a packet filtering
  508. firewall between these two servers that will allow them to
  509. talk DNS to each other, but otherwise restricts DNS between
  510. other hosts.
  511.  
  512. Another trick that's useful in this scheme is to employ
  513. wildcard PTR records in your IN-ADDR.ARPA domains. These
  514. cause an an address-to-name lookup for any of your non-
  515. public hosts to return something like "unknown.YOUR.DOMAIN"
  516. rather than an error.  This satisfies anonymous FTP sites
  517. like ftp.uu.net that insist on having a name for the
  518. machines they talk to. This may fail when talking to sites
  519. that do a DNS cross-check in which the host name is matched
  520. against its address and vice versa.
  521.  
  522. Note that hiding names in the DNS doesn't address the
  523. problem of host names "leaking" out in mail headers,
  524. news articles, etc.
  525.  
  526. ------------------------------
  527.  
  528. Date: Mon Jun 27 16:00:17 1994
  529. From: Fwalls-FAQ@tis.com
  530. Subject: 13: How do I make FTP work through my firewall?
  531.  
  532. Generally, making FTP work through the firewall is done
  533. either using a proxy server or by permitting incoming
  534. connections to the network at a restricted port range, and
  535. otherwise restricting incoming connections using something
  536. like "established" screening rules. The FTP client is then
  537. modified to bind the data port to a port within that range.
  538. This entails being able to modify the FTP client application
  539. on internal hosts.
  540.  
  541. A different approach is to use the FTP "PASV"
  542. option to indicate that the remote FTP server should permit
  543. the client to initiate connections. The  PASV approach
  544. assumes that the FTP server on the remote system supports
  545. that operation. (See RFC1579 for more information)
  546.  
  547. Other sites prefer to build client versions of
  548. the FTP program that are linked against a SOCKS library.
  549.  
  550. ------------------------------
  551.  
  552. Date: Mon Jun 27 16:00:18 1994
  553. From: Fwalls-FAQ@tis.com
  554. Subject: 14: How do I make Telnet work through my firewall?
  555.  
  556. Telnet is generally supported either by using an application
  557. proxy, or by simply configuring a router to permit outgoing
  558. connections using something like the "established" screening
  559. rules. Application proxies could be in the form of a standalone
  560. proxy running on the bastion host, or in the form of a SOCKS
  561. server and a modified client.
  562.  
  563. ------------------------------
  564.  
  565. Date: Mon Jun 27 16:00:25 1994
  566. From: Fwalls-FAQ@tis.com
  567. Subject: 15: How do I make Finger and whois work through my firewall?
  568.  
  569. Permit connections to the finger port from only trusted
  570. machines, which can issue finger requests in the form of:
  571. finger user@host.domain@firewall
  572.  
  573. This approach only works with the standard UNIX version of
  574. finger. Some finger servers do not permit user@host@host
  575. fingering.
  576.  
  577. Many sites block inbound finger requests for a variety of
  578. reasons, foremost being past security bugs in the finger
  579. server (the Morris internet worm made these bugs famous)
  580. and the risk of proprietary or sensitive information being
  581. revealed in user's finger information.
  582.  
  583. ------------------------------
  584.  
  585. Date: Tue Jul 5 16:33:27 1994
  586. From: Fwalls-FAQ@tis.com
  587. Subject: 16: How do I make gopher, archie, and other services work through my firewall?
  588.  
  589. This is still an area of active research in the firewall
  590. community. Many firewall administrators support these
  591. services only through the character-cell interface provided
  592. by telnet. Unfortunately, many of the sexier network
  593. services make connections to multiple remote systems,
  594. without transmitting any inline information that a proxy
  595. could take advantage of, and often the newer information
  596. retrieval systems transmit data to local hosts and disks
  597. with only minimal security. There are risks that (for
  598. example) WAIS clients may request uuencoded files, which
  599. decode and modify security related files in the user's home
  600. directory. At present, there is a lot of head-scratching
  601. going on between the firewall administrators who are
  602. responsible for guarding the network perimeters, and the
  603. users, who want to take advantage of these very sexy and
  604. admittedly useful tools.
  605.  
  606. ------------------------------
  607.  
  608. Date: Mon Jun 27 16:00:34 1994
  609. From: Fwalls-FAQ@tis.com
  610. Subject: 17: What are the issues about X-Window through a firewall?
  611.  
  612. X Windows is a very useful system, but unfortunately has
  613. some major security flaws. Remote systems that can gain or spoof
  614. access to a workstation's X display can monitor keystrokes that
  615. a user enters, download copies of the contents of their windows,
  616. etc.
  617.  
  618. While attempts have been made to overcome them (E.g.,
  619. MIT "Magic Cookie") it is still entirely too easy for an attacker
  620. to interfere with a user's X display.  Most firewalls block all X
  621. traffic. Some permit X traffic through application proxies such as
  622. the DEC CRL X proxy (FTP crl.dec.com).
  623.  
  624. ------------------------------
  625.  
  626. Date: Thu Sep 22 11:57:46 1994
  627. From: Fwalls-FAQ@tis.com
  628. Subject: 18: What is source routed traffic and why is it a threat?
  629.  
  630. Normally, the route a packet takes from its source to its destination
  631. is determined by the routers between the source and destination.  The
  632. packet itself only says where it wants to go (the destination
  633. address), and nothing about how it expects to get there.
  634.  
  635. There is an optional way for the sender of a packet (the source) to
  636. include information in the packet that tells the route the packet
  637. should get to its destination; thus the name "source routing". For
  638. a firewall, source routing is noteworthy, since an attacker can
  639. generate traffic claiming to be from a system "inside" the firewall.
  640. In general, such traffic wouldn't route to the firewall properly,
  641. but with the source routing option, all the routers between the
  642. attacker's machine and the target will return traffic along the
  643. reverse path of the source route. Implementing such an attack is
  644. quite easy; so firewall builders should not discount it as unlikely
  645. to happen.
  646.  
  647. In practice, source routing is very little used.  In fact, generally
  648. the main legitimate use is in debugging network problems or routing
  649. traffic over specific links for congestion control for specialized
  650. situations. When building a firewall, source routing should be blocked
  651. at some point. Most commercial routers incorporate the ability to
  652. block source routing specifically, and many versions of UNIX that
  653. might be used to build firewall bastion hosts have the ability to
  654. disable or ignore source routed traffic.
  655.  
  656. ------------------------------
  657.  
  658. Date: Thu Sep 22 11:58:00 1994
  659. From: Fwalls-FAQ@tis.com
  660. Subject: 19: What are ICMP redirects and redirect bombs?
  661.  
  662. An ICMP Redirect tells the recipient system to over-ride something in
  663. its routing table. It is legitimately used by routers to tell hosts
  664. that the host is using a non-optimal or defunct route to a particular
  665. destination, i.e. the host is sending it to the wrong router. The
  666. wrong router sends the host back an ICMP Redirect packet that tells
  667. the host what the correct route should be. If you can forge ICMP
  668. Redirect packets, and if your target host pays attention to them,
  669. you can alter the routing tables on the host and possibly subvert
  670. the security of the host by causing traffic to flow via a path the
  671. network manager didn't intend. ICMP Redirects also may be employed
  672. for denial of service attacks, where a host is sent a route that
  673. loses it connectivity, or is sent an ICMP Network Unreachable packet
  674. telling it that it can no longer access a particular network.
  675.  
  676. Many firewall builders screen ICMP traffic from their network, since
  677. it limits the ability of outsiders to ping hosts, or moify their
  678. routing tables.
  679.  
  680. ------------------------------
  681.  
  682. Date: Mon Jun 27 16:02:14 1994
  683. From: Fwalls-FAQ@tis.com
  684. Subject: 20: Glossary of firewall related terms
  685.  
  686. Host-based Firewall:
  687.         A firewall where the security is implemented in software running
  688.         on a general-purpose computer of some sort. Security in host-based
  689.         firewalls is generally at the application level, rather than at a
  690.         network level.
  691.  
  692. Router-based Firewall:
  693.         A firewall where the security is implemented using screening
  694.         routers as the primary means of protecting the network.
  695.  
  696. Screening Router:
  697.         A router that is used to implement part of the security of a
  698.         firewall by configuring it to selectively permit or deny
  699.         traffic at a network level.
  700.  
  701. Bastion Host:
  702.         A host system that is a "strong point" in the network's security
  703.         perimeter. Bastion hosts should be configured to be particularly
  704.         resistant to attack. In a host-based firewall, the bastion host
  705.         is the platform on which the firewall software is run.
  706.         Bastion hosts are also referred to as "gateway hosts."
  707.  
  708. Dual-Homed Gateway:
  709.         A firewall consisting of a bastion host with 2 network interfaces,
  710.         one of which is connected to the protected network, the other of
  711.         which is connected to the Internet. IP traffic forwarding is
  712.         usually disabled, restricting all traffic between the two networks
  713.         to whatever passes through some kind of application proxy.
  714.  
  715. Application Proxy:
  716.         An application that forwards application traffic through a
  717.         firewall. Proxies tend to be specific to the protocol they
  718.         are designed to forward, and may provide increased access
  719.         control or audit.
  720.  
  721. Screened Subnet:
  722.         A firewall architecture in which a "sand box" or "demilitarized
  723.         zone" network is set up between the protected network and the
  724.         Internet, with traffic between the protected network and the
  725.         Internet blocked. Conceptually, this is similar to a dual-homed
  726.         gateway, except that an entire network, rather than a single
  727.         host is reachable from the outside.
  728.  
  729. Contributors:
  730. -------------
  731. mjr@tis.com - Marcus Ranum, Trusted Information Systems
  732. leibowa@wl.com - Allen Leibowitz, Warner Lambert Inc.
  733. brent@greatcircle.com - Brent Chapman, Great Circle Associates
  734. bdboyle@erenj.com - Brian Boyle, Exxon Research
  735.